[wip] feat: crud endpoints for Engine lite#811
Merged
Conversation
arcoraven
commented
Dec 11, 2024
| "/backend-wallet/lite", | ||
| ]); | ||
|
|
||
| function shouldLog(request: FastifyRequest) { |
Contributor
Author
There was a problem hiding this comment.
Small changes here to add the POST /backend-wallet/lite path to not log the litePassword
arcoraven
commented
Dec 11, 2024
| const { method, routeOptions, headers, params, query, body } = request; | ||
| const { statusCode, elapsedTime } = reply; | ||
| const isError = statusCode >= 400; | ||
| if (shouldLog(request)) { |
Contributor
Author
There was a problem hiding this comment.
Random whitespace changes in this file. I confirmed its using spaces now, so I must have saved it with tabs in the past. (Grrr Biome)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR-Codex overview
This PR introduces functionality for managing backend wallet access in a Lite version, including creation, retrieval, and updating of wallet access records. It also enhances server routing and logging mechanisms.
Detailed summary
getBackendWalletLiteAccessfunction to retrieve wallet access.createBackendWalletLiteAccessfunction for wallet access creation.updateBackendWalletLiteAccessfunction for updating wallet access.schema.prismato includeBackendWalletLiteAccessmodel.backend_wallet_lite_access.generateLocalWalletto accept an encryption password.